#ifndef _SRV_PLUGIN_MANAGER_HPP_
#define _SRV_PLUGIN_MANAGER_HPP_

#include "project_manager/api/pm_plugin_accessor.hpp"

/*---------------------------------------------------------------------------*/

namespace Server {

/*---------------------------------------------------------------------------*/

class PluginManager
{
/*---------------------------------------------------------------------------*/

public:

/*---------------------------------------------------------------------------*/

	static PluginManager& getInstance();

	ProjectManager::Engine& getProjectManager();

/*---------------------------------------------------------------------------*/

private:

/*---------------------------------------------------------------------------*/

	PluginManager();

/*---------------------------------------------------------------------------*/

	ProjectManager::PluginAccessor m_projectManager;

	static PluginManager* ms_instance;

/*---------------------------------------------------------------------------*/

};

/*---------------------------------------------------------------------------*/

} // namespace Server

/*---------------------------------------------------------------------------*/

#endif // _SRV_PLUGIN_MANAGER_HPP_
